<template>
	<view class="complete_test_box">
		<view class="image_box">
			<image src="@/static/images/icon/complete_test.svg" mode="aspectFit"></image>
		</view>
		<view class="text_box">
			<view class="title1">你的词汇量</view>
			<view class="title2">{{num}}</view>
			<view class="title3">相当于高中三年级水平,你已经拥有了丰富的词汇,可以自由阅读高难度的英语材料,为高考做好充分准备！</view>
		</view>
		<view class="btn_box flex_ac_js">
			<view class="btn" style="background-color: #0000ff19; border: 2rpx solid #ffffff;" @tap="goToPage(2)">重新测试</view>
			<view class="btn" style="background-color: #0000ff97;" @tap="goToPage(3)">休息一下</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				num:9999,
			}
		},
		onLoad(option) {
			if (option.num) {
				this.num = option.num
			}
		},
		methods: {
			goToPage(num) {
				uni.navigateBack({
					delta: num
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
.complete_test_box {
	height: 100vh;
	background: linear-gradient(to bottom, #0669fe, #c0c0c0);
	padding-top: 150rpx;
	
	.image_box {
		width: 100%;
		height: 650rpx;
		
		image {
			width: 100%;
			height: 100%;
		}
	}
	
	.text_box {
		width: 72%;
		margin: 50rpx auto;
		color: #fff;
		text-align: center;
		
		
		.title1 {
			font-size: 36rpx;
			font-weight: 800;
		}
		
		.title2 {
			font-size: 56rpx;
			font-weight: bold;
		}
		
		.title3 {
			margin-top: 30rpx;
			font-size: 28rpx;
		}
	}
	
	.btn_box {
		width: 82%;
		margin: 80rpx auto 0;
		
		.btn {
			width: 280rpx;
			height: 80rpx;
			line-height: 80rpx;
			text-align: center;
			color: #ffffff;
			border-radius: 50rpx;
			font-size: 28rpx;
		}
	}
}
</style>
